package vip.huhailong.thumbnailatorstudy.utils;

import vip.huhailong.thumbnailatorstudy.entiry.Rs;

public class RsUtil {

    public static Rs success(String message){
        return new Rs(true, message, null);
    }

    public static Rs success(String message, Object data){
        return new Rs(true, message, data);
    }

    public static Rs error(String message){
        return new Rs(false, message, null);
    }
}
